package com.young.common.client.log.model;

import java.util.Date;
import java.util.List;

/**
 * 日志文件实体类(简单的一些信息)
 *
 * @author imrookie
 * @date 2018/11/19
 */
public class LogFile {
    private String name;    //名称
    private long size;   //大小
    private String addr;    //实际存储地址
    private boolean folder; //文件夹标记
    private List<LogFile> logFileList;  //子文件
    private Date createTime;    //创建时间
    private Date updateTime;    //修改时间


    @Override
    public String toString() {
        return "LogFile{" +
                "name='" + name + '\'' +
                ", size=" + size +
                ", addr='" + addr + '\'' +
                ", folder=" + folder +
                ", logFileList=" + logFileList +
                ", createTime=" + createTime +
                ", updateTime=" + updateTime +
                '}';
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public long getSize() {
        return size;
    }

    public void setSize(long size) {
        this.size = size;
    }

    public String getAddr() {
        return addr;
    }

    public void setAddr(String addr) {
        this.addr = addr;
    }

    public boolean isFolder() {
        return folder;
    }

    public void setFolder(boolean folder) {
        this.folder = folder;
    }

    public List<LogFile> getLogFileList() {
        return logFileList;
    }

    public void setLogFileList(List<LogFile> logFileList) {
        this.logFileList = logFileList;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }
}
